package com.project.logistics.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.project.logistics.bean.Repairs;
import com.project.logistics.bean.User;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created by94988 on 2021/3/16 16:27
 */

public interface UserService extends IService<User> {

    User findUser(String id);

    List<Repairs> getRepairs(String userId);

    boolean deleteUserById(String id);

    List<User> getUserByType(int type);

    int resetPassword(String userId);
    void updatePassword(String newPassword,String userId);


}

